﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x02000312 RID: 786
	public class TMultiTargetList : TParseTreeNodeList
	{
		// Token: 0x06001BE7 RID: 7143 RVA: 0x0032FDCA File Offset: 0x0032DFCA
		public virtual void addMultiTarget(TMultiTarget multiTarget)
		{
			base.addElement(multiTarget);
		}

		// Token: 0x17000666 RID: 1638
		public TMultiTarget this[int pos]
		{
			get
			{
				if (pos < 0 || pos >= base.size())
				{
					throw new IndexOutOfRangeException();
				}
				return (TMultiTarget)this.elementAt(pos);
			}
		}

		// Token: 0x06001BE9 RID: 7145 RVA: 0x0032FDF4 File Offset: 0x0032DFF4
		public virtual TMultiTarget getMultiTarget(int position)
		{
			if (position < base.size())
			{
				return (TMultiTarget)this.elementAt(position);
			}
			return null;
		}

		// Token: 0x06001BEA RID: 7146 RVA: 0x0032FE0D File Offset: 0x0032E00D
		internal override void addParseTreeNode(object arg1)
		{
			this.addMultiTarget((TMultiTarget)arg1);
		}

		// Token: 0x06001BEB RID: 7147 RVA: 0x0032FE1B File Offset: 0x0032E01B
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06001BEC RID: 7148 RVA: 0x0032FE2C File Offset: 0x0032E02C
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			for (int i = 0; i < base.size(); i++)
			{
				this.getMultiTarget(i).acceptChildren(v);
			}
			v.postVisit(this);
		}
	}
}
